package com.zlx.store.common.constant;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

@ApiModel("登陆验证邮件短信信息")
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum LoginSend {

    MAIL_SUBJECT(1,"蜗牛超市验证邮件"),
    MAIL_CONTENT(2,"【蜗牛超市】验证码：%s，该验证码5分钟内有效，限本次使用。");
    @ApiModelProperty(name = "code",notes = "类型编号")
    private final int code;
    @ApiModelProperty(name = "msg",notes = "内容")
    private final String msg;
    LoginSend(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
